<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .relative{
            width: 600px;
            height: 600px;
            border: 4px solid black;
            position: relative;

            margin: 20px;
            padding: 20px;
        }

        .absolute{
            width: 200px;
            height: 200px;
            border: 1px solid black;
            position: absolute;
            top: 0px;
            left: 0px;
        }
    </style>
</head>
<body>
    <div class="relative">
        ssddss
        <div class="absolute"></div>
    </div>
</body>
</html>